﻿<%@ Page Title="" Language="C#" MasterPageFile="~/BackOffice.Master" AutoEventWireup="true" CodeBehind="Member_Sales_Report2.aspx.cs" Inherits="FYPDemo.Member_Sales_Report2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="MemberSalesReport2_Grid" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText = "No.">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 %>
                </ItemTemplate>
            </asp:TemplateField>

            <asp:TemplateField HeaderText = "Member">
                <ItemTemplate>
                    <asp:Label ID="lblMember" runat="server"><%#Eval("Name") %></asp:Label>
                </ItemTemplate> 
            </asp:TemplateField>

            <asp:TemplateField HeaderText = "Product ID">
                <ItemTemplate>
                    <asp:Label ID="lblProductID" runat="server"><%#Eval("ProductID") %></asp:Label>
                </ItemTemplate> 
            </asp:TemplateField>

            <asp:TemplateField HeaderText = "Product Name">
                <ItemTemplate>
                    <asp:Label ID="lblProductName" runat="server"><%#Eval("ProductName") %></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>

            <asp:TemplateField HeaderText = "Quantity">
                <ItemTemplate>
                    <asp:Label ID="lblDateCreated" runat="server"><%#Eval("Quantity") %></asp:Label>
                </ItemTemplate> 
            </asp:TemplateField>

            <asp:TemplateField HeaderText = "Price">
                <ItemTemplate>
                    <asp:Label ID="lblTotalPrice" runat="server"><%#Eval("Price") %></asp:Label>
                </ItemTemplate> 
            </asp:TemplateField>         
        </Columns>
    </asp:GridView>
</asp:Content>
